home *** CD-ROM | disk | FTP | other *** search
Text File | 1997-06-28 | 431 b | 22 lines | [TEXT/CWIE] |
- // BroadcastLoop.cp
-
- #ifndef BroadcastLoop_h
- #include "BroadcastLoop.h"
- #endif
-
- template < class Protocol >
- BroadcastLoop<Protocol>::BroadcastLoop( const Broadcaster<Protocol>& source )
- : ListLoop< Protocol >( source )
- {
- if ( Unfinished() )
- (*this)->SetContext();
- }
-
- template < class Protocol >
- void BroadcastLoop<Protocol>::operator++()
- {
- Inherited::operator++();
- if ( Unfinished() )
- (*this)->SetContext();
- }
-